﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZhonTai.Industry.Contracts.Core.Enums;

namespace ZhonTai.Industry.Contracts.Model.Entity
{
    public class WriteRequest
    {
        public string Address { get; }
        public object Value { get; }
        public PLCDataTypeEnum DataType { get; }

        public WriteRequest(string address, object value, PLCDataTypeEnum dataType)
        {
            Address = address;
            Value = value;
            DataType = dataType;
        }
    }
}